package com.cxyd.modules.sys.dto;

import com.cxyd.common.validator.group.AddGroup;
import com.cxyd.common.validator.group.DefaultGroup;
import com.cxyd.common.validator.group.UpdateGroup;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 用户管理
 */
@Data
public class SysUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	private Long id;

	private String username;

	@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
	private String password;

	private String realName;

	private String headUrl;

	private Integer gender;

	private String email;

	private String mobile;

	private Long deptId;

	private Integer status;

	@JsonProperty(access = JsonProperty.Access.READ_ONLY)
	private Date createDate;

	@JsonProperty(access = JsonProperty.Access.READ_ONLY)
	private Integer superAdmin;

	private List<Long> roleIdList;

	private String deptName;

}